public class two_dimensional_array02 {
    //动态初始化
    public static void main(String[] args){
        int[][] arr = new int[2][3];
        arr[1][1] = 8;

        //遍历数组
        for(int i = 0;i<arr.length;i++){
            for(int j=0;j<arr[i].length;j++){
                System.out.println(arr[i][j]+" ");
            }
            System.out.println();//换行
        }
    }
}
